//
//  ADJgCustomAdapterGDTNativeAdView.m
//  ADJgCustomPlatform
//
//  Created by apple on 2025/1/6.
//

#import "ADJgCustomAdapterGDTNativeAdView.h"

@implementation ADJgCustomAdapterGDTNativeAdView

#pragma mark - setter

- (void)setGdtNativeAdView:(GDTNativeExpressAdView *)gdtNativeAdView {
    _gdtNativeAdView = gdtNativeAdView;
    [self addSubview:gdtNativeAdView];
}


#pragma mark - ADJgAdapterNativeAdViewDelegate

- (void)adjg_registViews:(NSArray<UIView *> *)clickViews {
    [self.gdtNativeAdView render];
}

- (void)adjg_unRegistView {
    
}

- (ADJgAdapterRenderType)renderType {
    return ADJgAdapterRenderTypeExpress;
}

- (ADJgAdapterNativeAdData *)data {
    return nil;
}

- (nullable UIView *)adjg_mediaViewForWidth:(CGFloat)width {
    return nil;
}

- (BOOL)adjg_closeButtonExist {
    return YES;
}

#pragma mark - ADJgAdViewInfoProtocol

- (ADJgAdapterPlatform)adjg_platform {
    return @"gdt";
}

@end
